package com.xcm.dao;

import com.github.pagehelper.Page;
import com.xcm.model.TbOperationLog;
import com.xcm.model.dto.OperationLogListDTO;
import org.apache.ibatis.annotations.Param;

public interface OperationLogMapper {
	/**
	 * 保存日志
	 * @param operationLog  TbOperationLog
	 */
	void saveOperationLog(TbOperationLog operationLog);

	/**
	 *  获取操作日志分页列表
	 */
	Page<OperationLogListDTO> listOperationLogByPage(@Param("startTime") Long startTime,@Param("endTime") Long endTime);
}
